package com.ruoyi.project.stock.stock.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 库存表对象 bas_stock
 *
 * @author ruoyi
 * @date 2023-04-10
 */
public class BasStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存编码 */
    @Excel(name = "库存编码")
    private String stockId;

    /** 货位编码 */
    @Excel(name = "货位编码")
    private String cargoSpaceId;

    /** 库存状态 */
    //@Excel(name = "库存状态",dictType = "quality_status")
    private String stockStatus;

    /** 物品状态 */
    // @Excel(name = "物品状态",dictType="product_status")
    private String productStatus;

    /** 批号 */
    @Excel(name = "批次")
    private String lotNo;

    /** 入库日期 */
    @Excel(name = "入库日期")
    private String inDate;

    /** 回流日期 */
    @Excel(name = "回流日期")
    private String backDate;

    /** 物品guid */
//    @Excel(name = "物品guid")
    private String productGuid;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String productId;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private BigDecimal quantity;

    /** 作业编号 */
    @Excel(name = "作业编号")
    private String jobId;

    /** 托盘条码 */
    @Excel(name = "托盘条码")
    private String trayCode;

    /** 物品明细编码 */
//    @Excel(name = "物品明细编码")
    private String productDetailId;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private BigDecimal outQuantity;

    /** 入库子单编号 */
    @Excel(name = "入库子单编号")
    private String stockinDetailId;

    /** 入库单编号 */
    @Excel(name = "入库单编号")
    private String stockinId;

    /** 入库类型 */
//    @Excel(name = "入库类型")
    private String inType;

    /** 班组名称 */
//    @Excel(name = "班组名称")
    private String inClassName;

    /** 班组编号 */
//    @Excel(name = "班组编号")
    private String inClassId;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String warehouseId;

    /** 班组编号 */
//    @Excel(name = "班组编号")
    private String classId;

    /** 库存来源 */
//    @Excel(name = "库存来源")
    private String stockSource;

    /** 供应商编码 */
//    @Excel(name = "供应商编码")
    private String stackingId;

    /** 产线 */
//    @Excel(name = "产线")
    private String lineId;

    /** 类型 */
//    @Excel(name = "类型")
    private String type;
    @Excel(name = "物品名称")
    private String productName;
    @Excel(name = "货位名称")
    private String cargoSpaceName;
    @Excel(name = "规格型号")
    private String spec;

    private String inStartTime;
    private String inFinishTime;

    private String backStartTime;
    private String backFinishTime;

    private String roadWayId;

    private BigDecimal giveNum;

    private String taiCarType;

    private String taskId;

    public String getRoadWayId() {
        return roadWayId;
    }

    public void setRoadWayId(String roadWayId) {
        this.roadWayId = roadWayId;
    }

    public String getInStartTime() {
        return inStartTime;
    }

    public void setInStartTime(String inStartTime) {
        this.inStartTime = inStartTime;
    }

    public String getInFinishTime() {
        return inFinishTime;
    }

    public void setInFinishTime(String inFinishTime) {
        this.inFinishTime = inFinishTime;
    }

    public String getBackStartTime() {
        return backStartTime;
    }

    public void setBackStartTime(String backStartTime) {
        this.backStartTime = backStartTime;
    }

    public String getBackFinishTime() {
        return backFinishTime;
    }

    public void setBackFinishTime(String backFinishTime) {
        this.backFinishTime = backFinishTime;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getCargoSpaceName() {
        return cargoSpaceName;
    }

    public void setCargoSpaceName(String cargoSpaceName) {
        this.cargoSpaceName = cargoSpaceName;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public void setStockId(String stockId)
    {
        this.stockId = stockId;
    }

    public String getStockId()
    {
        return stockId;
    }
    public void setCargoSpaceId(String cargoSpaceId)
    {
        this.cargoSpaceId = cargoSpaceId;
    }

    public String getCargoSpaceId()
    {
        return cargoSpaceId;
    }
    public void setStockStatus(String stockStatus)
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus()
    {
        return stockStatus;
    }
    public void setProductStatus(String productStatus)
    {
        this.productStatus = productStatus;
    }

    public String getProductStatus()
    {
        return productStatus;
    }
    public void setLotNo(String lotNo)
    {
        this.lotNo = lotNo;
    }

    public String getLotNo()
    {
        return lotNo;
    }
    public void setInDate(String inDate)
    {
        this.inDate = inDate;
    }

    public String getInDate()
    {
        return inDate;
    }
    public void setBackDate(String backDate)
    {
        this.backDate = backDate;
    }

    public String getBackDate()
    {
        return backDate;
    }
    public void setProductGuid(String productGuid)
    {
        this.productGuid = productGuid;
    }

    public String getProductGuid()
    {
        return productGuid;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setQuantity(BigDecimal quantity)
    {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity()
    {
        return quantity;
    }
    public void setJobId(String jobId)
    {
        this.jobId = jobId;
    }

    public String getJobId()
    {
        return jobId;
    }
    public void setTrayCode(String trayCode)
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode()
    {
        return trayCode;
    }
    public void setProductDetailId(String productDetailId)
    {
        this.productDetailId = productDetailId;
    }

    public String getProductDetailId()
    {
        return productDetailId;
    }
    public void setOutQuantity(BigDecimal outQuantity)
    {
        this.outQuantity = outQuantity;
    }

    public BigDecimal getOutQuantity()
    {
        return outQuantity;
    }
    public void setStockinDetailId(String stockinDetailId)
    {
        this.stockinDetailId = stockinDetailId;
    }

    public String getStockinDetailId()
    {
        return stockinDetailId;
    }
    public void setStockinId(String stockinId)
    {
        this.stockinId = stockinId;
    }

    public String getStockinId()
    {
        return stockinId;
    }
    public void setInType(String inType)
    {
        this.inType = inType;
    }

    public String getInType()
    {
        return inType;
    }
    public void setInClassName(String inClassName)
    {
        this.inClassName = inClassName;
    }

    public String getInClassName()
    {
        return inClassName;
    }
    public void setInClassId(String inClassId)
    {
        this.inClassId = inClassId;
    }

    public String getInClassId()
    {
        return inClassId;
    }
    public void setWarehouseId(String warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId()
    {
        return warehouseId;
    }
    public void setClassId(String classId)
    {
        this.classId = classId;
    }

    public String getClassId()
    {
        return classId;
    }
    public void setStockSource(String stockSource)
    {
        this.stockSource = stockSource;
    }

    public String getStockSource()
    {
        return stockSource;
    }
    public void setStackingId(String stackingId)
    {
        this.stackingId = stackingId;
    }

    public String getStackingId()
    {
        return stackingId;
    }
    public void setLineId(String lineId)
    {
        this.lineId = lineId;
    }

    public String getLineId()
    {
        return lineId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public BigDecimal getGiveNum() {
        return giveNum;
    }

    public void setGiveNum(BigDecimal giveNum) {
        this.giveNum = giveNum;
    }

    public String getTaiCarType() {
        return taiCarType;
    }

    public void setTaiCarType(String taiCarType) {
        this.taiCarType = taiCarType;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        return "BasStock{" +
                "stockId='" + stockId + '\'' +
                ", cargoSpaceId='" + cargoSpaceId + '\'' +
                ", stockStatus='" + stockStatus + '\'' +
                ", productStatus='" + productStatus + '\'' +
                ", lotNo='" + lotNo + '\'' +
                ", inDate='" + inDate + '\'' +
                ", backDate='" + backDate + '\'' +
                ", productGuid='" + productGuid + '\'' +
                ", productId='" + productId + '\'' +
                ", quantity=" + quantity +
                ", jobId='" + jobId + '\'' +
                ", trayCode='" + trayCode + '\'' +
                ", productDetailId='" + productDetailId + '\'' +
                ", outQuantity=" + outQuantity +
                ", stockinDetailId='" + stockinDetailId + '\'' +
                ", stockinId='" + stockinId + '\'' +
                ", inType='" + inType + '\'' +
                ", inClassName='" + inClassName + '\'' +
                ", inClassId='" + inClassId + '\'' +
                ", warehouseId='" + warehouseId + '\'' +
                ", classId='" + classId + '\'' +
                ", stockSource='" + stockSource + '\'' +
                ", stackingId='" + stackingId + '\'' +
                ", lineId='" + lineId + '\'' +
                ", type='" + type + '\'' +
                ", productName='" + productName + '\'' +
                ", cargoSpaceName='" + cargoSpaceName + '\'' +
                ", spec='" + spec + '\'' +
                ", inStartTime='" + inStartTime + '\'' +
                ", inFinishTime='" + inFinishTime + '\'' +
                ", backStartTime='" + backStartTime + '\'' +
                ", backFinishTime='" + backFinishTime + '\'' +
                ", roadWayId='" + roadWayId + '\'' +
                ", giveNum=" + giveNum +
                '}';
    }
}
